﻿<html><head><script type="text/javascript">var storage_deutsch = [];var storage_esperanto = [];function processMessage(request,sender,sendResponse){	if(request.absender == 1)	{		console.log("Vokabeln werden in Storage eingegliedert");		storage_deutsch.push(request.deutsch);		storage_esperanto.push(request.esperanto);	}	else if(request.absender == 2)	{		console.log("Vokabeln werden abgerufen");		sendResponse({storage_deutsch:storage_deutsch,storage_esperanto:storage_esperanto});	}}chrome.extension.onRequest.addListener(processMessage);chrome.browserAction.onClicked.addListener(function(tab) {	chrome.tabs.create({'url': chrome.extension.getURL('ueberblick.html')}, function(tab) {});});var menu =      {          "title": "Vokabel extrahieren",  		"onclick":function(){					chrome.tabs.executeScript(null, {file: "extraction.js"});}    }; var id=chrome.contextMenus.create(menu);</script></head><body></body></html>